import Vue from "vue"
import App from "./App"

  Vue.config.productionTip = false
  // 导入路由
import router from "@/router"

// 导入vuex的store
import store from "@/store"

// 注册全局组件TypeNav
import TypeNav from "@/components/TypeNav"
Vue.component("TypeNav",TypeNav)

// 导入mock
import "./mock"

new Vue({
  router,
  store,
  el:"#app",
  render:h => h(App)
})